package com.dt.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dt.common.annotation.Excel;
import com.dt.common.core.domain.BaseEntity;

/**
 * 任务对象 task
 * 
 * @author yxg
 * @date 2024-01-26
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private Long taskId;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String taskTitle;

    /** 任务内容 */
    @Excel(name = "任务内容")
    private String taskContent;

    /** 任务类型(1 案件类  2 行政类  3 其他类 ) */
    @Excel(name = "任务类型(0 案件类  1行政类  2 其他类 )")
    private String taskType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskEndTime;

    /** 提醒方式(1提前1小时    2提前2小时     3提前半天     4提前1天   5提前2天) */
    @Excel(name = "提醒方式(0提前2小时    1提前4小时   2提前6小时   3提前12小时     4提前24小时   5提前48小时)")
    private String taskRemindType;

    /** 发布人编号 */
    @Excel(name = "发布人编号")
    private Long taskPublisherId;

    /** 发布人名称 */
    @Excel(name = "发布人名称")
    private String taskPublisherName;

    /** 执行人id列表逗号分割 */
    @Excel(name = "执行人id列表逗号分割")
    private String taskExecutorId;

    /** 执行人名称列表逗号分割 */
    @Excel(name = "执行人名称列表逗号分割")
    private String taskExecutorName;

    /** 任务状态(1待签收  2进行中  3完成  4归档) */
    @Excel(name = "任务状态(0未开始  1进行中  2已完成  3归档)")
    private String taskStatus;

    public Integer getTaskRemindCount() {
        return taskRemindCount;
    }

    public void setTaskRemindCount(Integer taskRemindCount) {
        this.taskRemindCount = taskRemindCount;
    }

    /** 提醒次数  提醒一次后，不再提醒 */
    private Integer taskRemindCount;





    /** $column.columnComment */
    private String delFlag;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setTaskTitle(String taskTitle) 
    {
        this.taskTitle = taskTitle;
    }

    public String getTaskTitle() 
    {
        return taskTitle;
    }
    public void setTaskContent(String taskContent) 
    {
        this.taskContent = taskContent;
    }

    public String getTaskContent() 
    {
        return taskContent;
    }
    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }
    public void setTaskStartTime(Date taskStartTime) 
    {
        this.taskStartTime = taskStartTime;
    }

    public Date getTaskStartTime() 
    {
        return taskStartTime;
    }
    public void setTaskEndTime(Date taskEndTime) 
    {
        this.taskEndTime = taskEndTime;
    }

    public Date getTaskEndTime() 
    {
        return taskEndTime;
    }
    public void setTaskRemindType(String taskRemindType) 
    {
        this.taskRemindType = taskRemindType;
    }

    public String getTaskRemindType() 
    {
        return taskRemindType;
    }
    public void setTaskPublisherId(Long taskPublisherId) 
    {
        this.taskPublisherId = taskPublisherId;
    }

    public Long getTaskPublisherId() 
    {
        return taskPublisherId;
    }
    public void setTaskPublisherName(String taskPublisherName) 
    {
        this.taskPublisherName = taskPublisherName;
    }

    public String getTaskPublisherName() 
    {
        return taskPublisherName;
    }
    public void setTaskExecutorId(String taskExecutorId) 
    {
        this.taskExecutorId = taskExecutorId;
    }

    public String getTaskExecutorId() 
    {
        return taskExecutorId;
    }
    public void setTaskExecutorName(String taskExecutorName) 
    {
        this.taskExecutorName = taskExecutorName;
    }

    public String getTaskExecutorName() 
    {
        return taskExecutorName;
    }
    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("taskTitle", getTaskTitle())
            .append("taskContent", getTaskContent())
            .append("taskType", getTaskType())
            .append("taskStartTime", getTaskStartTime())
            .append("taskEndTime", getTaskEndTime())
            .append("taskRemindType", getTaskRemindType())
            .append("taskPublisherId", getTaskPublisherId())
            .append("taskPublisherName", getTaskPublisherName())
            .append("taskExecutorId", getTaskExecutorId())
            .append("taskExecutorName", getTaskExecutorName())
            .append("taskStatus", getTaskStatus())
                .append("taskRemindCount",getTaskRemindCount())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
